<html>
<head><meta charset="utf-8"><title>make everything generic · project-const-generics · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/260443-project-const-generics/index.html">project-const-generics</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/260443-project-const-generics/topic/make.20everything.20generic.html">make everything generic</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="229499200"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/260443-project-const-generics/topic/make%20everything%20generic/near/229499200" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/260443-project-const-generics/topic/make.20everything.20generic.html#229499200">(Mar 09 2021 at 15:59)</a>:</h4>
<p><span class="user-mention silent" data-user-id="216206">lcnr</span> <a href="#narrow/stream/260443-project-const-generics/topic/meeting.202021-03-09/near/229498590">said</a>:</p>
<blockquote>
<p>making <code>ty::Ty</code> and everything else generic seems even worse tbh</p>
</blockquote>
<p>I initially thought I would have to do this for valtree, but it turns out, I don't (took a few hours of failed refactorings to learn enough to understand why). That said.. <code>ConstKind::Raw</code> is not worse than <code>ConstKind::Infer</code> and friends. These are all fairly short lived.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>